From 99cc69de5b7d9cd4b9bca2cbf85ae23bc5070c89 Mon Sep 17 00:00:00 2001 From: Hollis Blanchard Date: Tue, 12 Dec 2006 13:54:00 -0600 Subject: [PATCH] [POWERPC][XEN] Remove unused uaccess.h header. Signed-off-by: Hollis Blanchard --- xen/include/asm-powerpc/uaccess.h | 38 ------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 xen/include/asm-powerpc/uaccess.h diff --git a/xen/include/asm-powerpc/uaccess.h b/xen/include/asm-powerpc/uaccess.h deleted file mode 100644 index 77760953d0..0000000000 --- a/xen/include/asm-powerpc/uaccess.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * Copyright (C) IBM Corp. 2006 - * - * Authors: Hollis Blanchard - */ - -#ifndef __PPC_UACCESS_H__ -#define __PPC_UACCESS_H__ - -#include -#include -#include - -/* since we run in real mode, we can safely access all addresses. - * XXX well, except IO. should we check for that here? */ -#define access_ok(addr,size) 1 -#define array_access_ok(addr,count,size) 1 - -#define __copy_to_user copy_to_user -#define __copy_from_user copy_from_user -#define copy_to_user(to,from,len) xencomm_copy_to_guest(to,from,len,0) -#define copy_from_user(to,from,len) xencomm_copy_from_guest(to,from,len,0) - -#endif /* __PPC_UACCESS_H__ */ -- 2.30.2